<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>修改权限——后台管理</title>
    <link rel="stylesheet" type="text/css" href="<?php echo ADMIN_PUC;?>/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="<?php echo ADMIN_PUC;?>/css/main.css"/>
    <script type="text/javascript" src="<?php echo ADMIN_PUC;?>/js/libs/modernizr.min.js"></script>
</head>
<body>
<include file="Common/top" /> 
<div class="container clearfix">
    <div class="sidebar-wrap">
        <div class="sidebar-title">
            <h1>菜单</h1>
        </div>
        <include file="Common/left" /> 
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="/jscss/admin/design/">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="__MODULE__/Privilege/lst">权限管理</a><span class="crumb-step">&gt;</span><span>权限修改</span></div>
        </div>
        <div class="result-wrap">
            <div class="result-content">
                <form action="" method="post" id="myform" name="myform" enctype="multipart/form-data">
                    <input type="hidden" name="id" value="{$prires.id}" />
                    <table class="insert-tab" width="100%">
                        <tbody><tr>
                            <th width="120"><i class="require-red">*</i>上级权限：</th>
                            <td>
                                <select name="parentid" id="catid" class="required">
                                    <option value="0">顶级权限</option>
                                    <volist name="pris" id="vo">
                                    <option <if condition="$vo['id'] eq $prires['parentid']">selected="selected"</if>  <if condition="$vo['id'] eq $prires['id']">style="display:none;"</if> value="{$vo.id}"><if condition="$vo['parentid'] neq 0">|</if><?php echo str_repeat('-', $vo['level']*8);?>{$vo.pri_name}</option>
                                    </volist>
                                </select>
                            </td>
                        </tr>
                            <tr>
                                <th><i class="require-red">*</i>权限名称：</th>
                                <td>
                                    <input class="common-text required" id="title" name="pri_name" size="50" value="{$prires.pri_name}" type="text">
                                </td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>模块名称：</th>
                                <td>
                                    <input class="common-text required" id="title" name="mname" size="50" value="{$prires.mname}" type="text">
                                </td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>控制器名称：</th>
                                <td>
                                    <input class="common-text required" id="title" name="cname" size="50" value="{$prires.cname}" type="text">
                                </td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>方法名称：</th>
                                <td>
                                    <input class="common-text required" id="title" name="aname" size="50" value="{$prires.aname}" type="text">
                                </td>
                            </tr>
                            <tr>
                                <th></th>
                                <td>
                                    <input class="btn btn-primary btn6 mr10" value="提交修改" type="submit">
                                    <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                                </td>
                            </tr>
                        </tbody></table>
                </form>
            </div>
        </div>

    </div>
    <!--/main-->
</div>
</body>
</html>